<#import "add_base.ftl" as add/>
<@add.html>
<#include "add_mb.ftl">

        <tr>
          <th>总次数</th>
          <td><input type="text" name="totalCount" value="" maxlength="8" class="disable" readonly></td>
          <th>剩余次数</th>
          <td><input type="text" name="restCount" value="" maxlength="8" class="disable" readonly></td>
        </tr>
        <tr>
          <th>更改次数</th>
          <td><input type="text" name="quantity" value="" req="更改次数"  maxlength="8"></td>
          <th></th>
          <td></td>
        </tr>
<script type="text/javascript">
  function fillData(mc) {
    var fm = getEl("fm_input");
    fm.totalCount.value = mc.totalCount;
    fm.restCount.value = mc.restCount;
  }
  function clearData() {
    var fm = getEl("fm_input");
    fm.totalCount.value = "";
    fm.restCount.value = "";
  }
</script>
</@add.html>